/*    */ package com.gillion.grule.client.validator;
/*    */ 
/*    */ import java.util.Map;
/*    */ import org.apache.commons.lang3.Validate;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class RequireValidatorServiceImpl
/*    */   implements ValidatorService
/*    */ {
/*    */   public boolean validate(String key, Object value, Map<String, Object> settings) {
/* 15 */     Validate.notNull(settings, "设置不能为空", new Object[0]);
/* 16 */     if (value == null) {
/* 17 */       return false;
/*    */     }
/* 19 */     return true;
/*    */   }
/*    */ }


/* Location:              D:\apache-tomcat-9.0.76\webapps\grule-manager\WEB-INF\lib\grule-client-2.0.2.RELEASE.jar!\com\gillion\grule\client\validator\RequireValidatorServiceImpl.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */